package com.ligang.dao;

import com.ligang.domain.Video;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

/**
 * @Author: StoneIsLand
 * @Date: 2021/12/15 21:59
 */
@Repository
public interface VideoMapper {
    @Select("select * from video where id = #{id}")
    Video findById(@Param("id") Integer id);
}
